Fixing file path/access error on Windows