Fix `--to-file`