Implemented asyncfile for Posix.