Try to make saved files compatible between python 2 and 3