Fix tests, plus a previously existing bug when :buffer :none results in
a sequence of characters, which a FileWriter can't write.
use-binary -> binary