Refactoring: utils.py is now separated in files in package dir.
Bugfix and improvements around image saving.