EZP-21021: Changed Image FieldType legacy file naming

A directory structure, with a depth of 4 folders, is
added to images path in order to prevent hitting the
filesystem limit.
Merge pull request #638 from ezsystems/fix/EZP-22021-Legacy_images_naming

Fix EZP-22021: legacy images naming