Given a client and filename, calls put_file method on dropbox client