Fix EZP-20570: ezcsvimport uses the storage-dir as filename if an ezimage is empty

As discussed with @crevillo