it would be nice to eliminate the binread/binwrite monkey patching that we do: https://github.com/puppetlabs/puppet/blob/master/lib/puppet/util/monkey_patches.rb#L107-L140. Also, `File.binread` accepts optional length and offset parameters, though not used currently.