Write file and implement --force.