fixed setMetadata() to use the formatted fullPath

setMetadata needs the »formatted« fullPath to work properly (see getMetadat)