make writePos and readPos long in AsyncFileImpl