Fix for output file name