Use FilenameUtils.separatorsToUnix function in getRelativePathDescriptors function.