Made utf-8 safe
Zen of Python: EAFP
Log less if everything is OK
Test setting with optimizing
Added documentation for image optimization
Changed Posix mode to 755