use File::Path mkpath to create export directories