Python 2.6 doesn't have io.SEEK_* constants