Added `use_sudo` and `temp_dir` params to `operations.get()`. Fixes #700

Also added some tests for the use_sudo + temp_dir combination for operations.put()