Fixed bug in interface.c regarding output files.