Open xlsx failure

This should fix #47, along with a test (which was failing on Python 3 before the change).