Adding support for blanks in file paths

Added method getURLFromRelativePath() to class DirectoryLister replacing PHP's urlencode() call.