path.join -> path.resolve when invalidating hashes