output files extension fix