Fixes typos in code examples

The modified examples did not work in Cygwin, and presumably not in Unix
either.