Added new parameters preserveDirectories and relativeBaseDir to fix #99