Fix writeContainerEnd call being inside loop instead of after loop Summary: Potentailly breaks Java serialization for protocols that care about container termination. Reviewed By: dreiss Test Plan: Generate code, veirfy writeListEnd/writeSetEnd is in the apporpriate place