reverted change in pathutils which caused wrong behaviour
improved documentation
improved documentation
updated copyright
changed deprecated API call