Add handling of the `file` protocol to `check_output`.
Add handling of the `file` protocol to `check_output`.

This may be overkill, but why not be extra careful? Fixes #407.

matz-e/lobster,matz-e/lobster,matz-e/lobster