Have thumbnail_cleanup work in Python 2.6 too

thumbnail_cleanup management command does not work with Python 2.6 because str.format() without indices is supported only in Python 2.7. Information: http://stackoverflow.com/a/10054232