Generate escaped url for categories with space.

Space in URLs should be encoded.

Signed-off-by: Laurent Arnoud <laurent@spkdev.net>
On Unix systems, Dir['*'] doesn't pick up .htaccess. Ask for it explicitly.
merge AF83 changes