Sanitizing the path to which we save server configurations, and also demo
files