Perhaps there is a better way than providing a download from github releases and chmod+x it?
go get github.com/lukasmartinelli/pgfutter"
If you need a more sophisticated solution you can look at pgloader. http://pgloader.io/
Nope, there's COPY ... FROM STDIN which accepts data inline, over a normal connection.