escapes special characters in folder name