Check file input with click directly

I trust Click since it works well in it, now pgist can accept stdin as file like this:

pgist -

type `ctrl+D` to end stdin and `ctrl+C` to abort.