BUGFIX : removal from writeManifest() of duplicated computation of path to manifest files (already done in getManifestPath())