Image rezise script with Python and PIL