Work around getdelim() bug on FreeBSD 8.0.