Don't crash if there's no permission to create a file

If gr::blocks cannot create a wav file, gqrx crashes. This solves that behavior but can be further improved with a dialog.