Added support for new optional options boolean argument "idAsDirectory"....

Allow you to store files into a sub-directory based on the image id instead of having everything at top level. The storage choice must support folder creation.