Fixed pikos compatibility with Python2.6
remove comments and revert code to the chained context managers
Merge pull request #25 from sjagoe/python26-compatibility

Fixed pikos compatibility with Python2.6