Fix a crash when redirecting a nonexistent file to a function
https://github.com/fish-shell/fish-shell/pull/574