Seems Linux Python is not happy without the 'decode' statement.
Formatting changes due to vim on my Windows box being improperly configured.