Forgot to import the codecs module when fixing the unicode bug.