Python3 compatibility

This request fixes two bugs:
  - File case name change to match the tests (otherwise a test fails on linux)
  - Support python 3.4 (via 2to3) requires a different reference to UserDict, since UserDict is not present in python3