Update recovery tool to support multi-line inputs Fix lint warnings

Reviewers: mike

Reviewed By: mike

Subscribers: ben

Differential Revision: http://phabricator.bitgo.com/D105