audio: Fix UnicodeDecodeError when logging errors

Fixes #347