Use file:// schema for all filesystems, instead of platform specific. Also revert windows specific changes to tests checking prefix.