Fixed touch to write initial XML if file does not exist.