Export batch must not build item names on top of the path
Because of how Glib path concatination works, we should always do non-path concatinations before doing path concatinations with Glib.
For example prefix_name_suffix should be constructed before path/prefix
If we don't, we end up with the issue in 4826 with corrupt paths.
Fixes #4826 (closed)