always close fd `i' in readtimezone, even if there's an error. also eliminate a bunch of gotos.