make edn.py python2 and python3 compatible

tested with Python 2.7.4 and Python 3.3.0