Allows unicode output

I adapted this as a text-filter in BBEdit, and one issue I ran into is that BBEdit often supplies files with unicode text in them. The filters work fine on this, but when print is called at the end it chokes on the non-ascii character set. A quick .encode('utf-8') fixes this.

Relevant blog post (re BBEdit text filter): http://objectivesea.tumblr.com/post/9700437213/jsbeautifierforbbedit