Add a debug log for send_file to check arguments received

Test Plan: TBA

Reviewers: russell

Differential Revision: https://phabricator.big-tr.uk/D13
Fix tests to reflect change to candidate tuple