[GhostCMS] Fix 'fs.rmSync is not a function'

Check npm version and update to the new version.