url encode the filename for use in links

Close #14