fix try-else blocks. closes #24 and #25
fixes for py3
Merge pull request #26 from bukzor/try-else

fix try-else blocks.