orchestra/remote: extend mktemp() to accept data
orchestra/remote: extend mktemp() to accept data

Extend remote.Remote.mktemp() to accept data as a parameter and write
the data to the temporary file after it is created.

Signed-off-by: Rishabh Dave <d65d05ccb4d95d4cd49c1a041af3276370381a83@redhat.com>

ceph/teuthology,ceph/teuthology,ktdreyer/teuthology,ktdreyer/teuthology