Fixed bug causing Format to leave off final newline of root.