Porting FileDict to Python 3.3