xalloc getline mkdtemp backupfile