wavenc: write fact chunk sample count at the correct file position