I understand why you would like to do that, but it still feels weird to me.
If we go down that road, then why does not the exporter know about wether figures are in subfolders, or even the extension of the figures files it will have to write ? I'm just wondering if there is not a better way to do it, which would actually make an exporter not know anything on how it would be use.