replaygain: Improved error handling