converter: write correct data size into wav files, clip to 0xffffffff if doesn't fit in 32 bit