clean up error handling during audio file creation