Fix issue with converting from URL to File.