Skip corrupt/empty audio files when processing recording.

Now when an empty/corrupt audio file is detected, it will be replaced with silence.

The code is basically the same as the fix to skip corrupt video files that I had added earlier.