Don’t trim spaces off of pathnames.

In retrospect trimming pathnames isn’t a good idea, as filenames might legitimately start or end with spaces.