- error if output file directory does not exist