fixed error in saveing pictures with cyrillic names