Support encoding option for request.

This gets around the binary file problem because request requires an
encoding of null in order to return binary data. See

https://github.com/mikeal/request#requestoptions-callback