Upgrade to Thrift 0.6.1

This artefact is in the Maven central repo and
contains bug fixes so the upgrade resolves two
issues.
Protect against empty arrays

Props to @danhyun for the catch!