Save PSI to temp file when doing on the fly processing since PSI and filesystem can be out of synch