make user defined export file name safe to use by converting/escaping
special characters