Bash/curl script to send files/stdin to pastebin.com, implements full api functionality