+ added a really dirty hack for python 2 and 3 compat problems (catching open() errors)