Add support for options in async toBuffer()

Add same options as in toBuffer() to async toBufferAsync()