Fix processing "file://" protocols

Fix processing of generated by some addons pathnames in form "file://..."
This fixing handling in PosixFile, Win32File and Win32Directory.