Fix output file location.