Bugfix: for Python3 in changing image file name