fixed small portability bugs in slurp and spurt functions of Mojo::Util