Py3k

Replaced StringIO in g4 tiff test with BytesIO.
Support in  TiffImagePlugin.py for BytesIO, since they actually have a fileno that errors out if it's not available.