Added an encoding hint.
Use an FFI::Buffer.
Added 2.0.0 to travis CI.