Fixed #16: title part of file url should be urlencoded as it can contains special chars like ? and break the link