If initial objformat was reported as "file" detect the real object format and update it. This is needed to avoid an invalid converting path from file -> plain -> targetformat. The correct converting path would be:   file -> plain -> original sourceformat -> targetformat.
If initial objformat was reported as "file" detect the real object format and update it.
This is needed to avoid an invalid converting path from file -> plain -> targetformat.
The correct converting path would be:
  file -> plain -> original sourceformat -> targetformat.

Example: 
  real sourceformat: vcard30 targetformat: xmlformat-contact

  file -> plain -> xmlformat-contact-doc -> xmlformat-contact 

  This would break because the xmlformat-cotnact-doc converter would try to
  parse the plain vcard30 as XML



git-svn-id: e31799a7ad59d6ea355ca047c69e0aee8a59fcd3@2273 53f5c7ee-bee3-0310-bbc5-ea0e15fffd5e

ianmartin/opensync,ianmartin/opensync