slash and backslash in valid_string validation

Used frequently in URI's and file paths.