runnable version of aio_write(1), but the buffer_out may be overwritten if it has not been written to the file before it's overwriten by memcpy(buffer_out, buffer, buffer_size)