Output last processed timestamp to a file