if directory name contains whitespaces archive creation fails.
refactored self.path to path, pep8 modifications, url2pathname instead of unqoutr