Download a file in the PhantomJS browser context instead of using the built-in CasperJS .download() method.