tftp: Buffer size checking.

During hardened compilation, a bogus string array defined
in <arpa/tftp.h> can cause false negatives.
Check all returns from fgets.
inetd: Ensure successful daemon mode.

Check all remaining calls to chdir.