Add more sanitizing of permalink path (lower-case, and whitespace stripping).  Fixes #92