Thrift: Fix dangling pointer errors and make messages a bit more uniform. Reviewed By: mcslee Test Plan: Honestly, just built the library. Revert Plan: ok Other Notes: Thanks to Ben Maurer.