[PMD-962] Encoding/Decoding - Not able to publish a Domain from PME with multiple special characters in the name

The filename is an unused field on the server except for writing tmp files.  If the tmp file contains illegal characters for the OS, then the REST call will fail before it is allowed to even get into our Resource.  The fix here is to create names which are safe (for any OS) as this does not interfere with the publishing of domains with names like D-[~!@#$%^&*(){}|.,]-=_+|;'"?<>~`: .