Fix a bug in DataFile.__dir__ that stopped all attributes being listed