Fixes corrupted replay due to signed / unsigned error.
Create new wave file if missing or invalid.
Allows extending file, even from very end.