Fixed support for file://