Improved algorithm input validation. Refs #8537.

- Prevent invalid naming of the file being saved to the catalog.
- Inform user we are using the filename or workspace name as the name of the file we are publishing. This occurs if the user has not provided a name for the file to be saved as.