EPiServer: Fix a bug in binary() as well as some Unicode bugs.
Closes #643