Fixed bug with trailing slash. in export path