Updated the Exceptions in chamomile.py to make them compatible with new Python 3 syntax