If your file is small enough you can encode it with base64 and then decode it locally:
remote.example.net$ base64 <myfile (copy the output)
local.example.net$ base64 -d >myfile (copy the output) Ctrl+D
Original answer where I got this (and tested out) from: https://unix.stackexchange.com/a/2869/194134