Write the current revision to file on deploy