invalid_paths: add a flag to allow space
Some projects use
in paths explicitly. Allow it while still
disallowing other whitespace characters.
Some projects use
in paths explicitly. Allow it while still
disallowing other whitespace characters.