Fix renaming scripts with 3 suffix on Python 3