Replace formats with python2.5 compatible versions