[file] fix "file://" prepending