Bug #4857 : fixing photo technical error on save due to bad IPTC encoding values by catching unsupported encoding exception.