allow resolving file:// urls for phantomjs