Avoiding 'mmal: main: Error opening output file' errors