Fix mod_offline to handle binary strings properly.
Merge branch 'master' into mod_offline_binary
Merge remote-tracking branch 'ska80/mod_offline_binary'

See issues #131 and #155.