Avoid returning twice on error in `files.run`