Describe the bug
If a texture/material name contains a space it will not be supported by NMS.
To Reproduce
Have a space in the name
We need to add some code to replace any spaces with an underscore so that even if a user has spaces in the file names or anything it will be valid.