Fix issue when sys.stdout.encoding is None

In my build of python (2.7.3) `sys.stdout.encoding` is `None` which causes `turses.utils.encode` to raise a `TypeError`. This change catches that and returns the string as-is, just as you expect to do if an `AttributeError` is raised.