Add option to get binary data only

We ran into problems when data could be accidentally decoded as utf8 or some other string when we really just wanted to get the binary data. This patch fixes that.