http://hpaste.org/fastcgi/hpaste.fcgi/view?id=27631 The comments in the code explain the problem. If ".Lazy" be removed from the code (occurs three times), i.e., the code is changed to strict byte strings, it works as expected. Michael Mounteney.