Do not crash if you don't have permissions to write to a file

If you do not have permissions to write to the filename gqrx builds (rec_dir + a timestamped wav filename), gqrx used to crash. This fixes that behavior, could be further improved with a dialog.