fix missing audio chunk at the end of file