Only change tags on note files.
Close temp file.