Fix async writer interface, fixes #38