Fix async_dirty buffer sender shutdown handshake.
Bump max in-memory queue threshold to 200000.
Keep buffer log going for at least 60 seconds after starting.
Add prim_file:truncate_file/2, /3.
Add prim_file:close/2.