Fix for http-fetch from file:// URLs