Removing illegal characters from filenames

Downloading a file now trims illegal characters from titles to create an acceptable filename on Windows & *nix systems.