Save buffer prior to running clean-ns

The middleware reads in the file from disk so we better make sure the
latest version is available!