files in images can be directories

+ files in images can be directories whose content is put in the image
  target directory

However, the image target directory has the dir contents in the same directory so overwriting may happen. I didn't change much because my ignorance of this code. Two options came up to my mind:

1. Improve `put` to manage relative paths
2. Add new SOAP method `putRelative` to manage relative paths on the image.