Escape single quotes in log messages.

http://stackoverflow.com/questions/22670627/java-logger-apostrophe-issues-with-tokens