smurf: allow phasecorrds to save all debug files

If compiled with DEBUG set, all debug ouput files will be
saved, avoiding the need for the file selection menu.