slurp and spurt work with bytes