fix RIFF export