getline cleanup. This changes the getndelim2 API: both order of arguments,