Fixed a FATAL bug that overwrote sound files badly.