When doing plugin updates, write out a new oauth file