Possible fix for file:// paths