Finally got zero length files and async io working sensibly.