Add hostname to temp lockfile.