Fixed "ambiguous redirect" error by quoting file path