The new export system was ignoring the value of variable org-export-publishing-directory.

For example, even with the value of org-export-publishing-directory set to "./exports", the exported files would end up in the same folder as the org file.

This patch seems to solve the problem, at least on my emacs.

Thanks,
Shitikanth Kashyap