audio writer now flushes every 65536 bytes and has better file handling