change import Image to from PIL import Image
fix log bug
improve pyini i18n function save bug