Quote URLs. Fixes #145.

This fixes #145 by making sure to escape the URLs within the directory view.