Added a check for IronPython
Added a check for IronPython

IronPython doesn't handle codecs.open errors correctly. This commits adds an extra check to fix this issue. See #62

boris-p/ladybug,boris-p/ladybug