Fixing IO.binwrite specs, parsing options.