accept spaces and underscores in filenames. Refs #829