Format path correctly

Lowercase, and replace whitespace with underscores