Fix PEM decoding if file ends with multiple newlines
Fix PEM decoding if file ends with multiple newlines

This method more closely reflects how crypto/tls does it here: https://golang.org/src/crypto/tls/tls.go?s=5139:5210#L174

xenolf/lego,xenolf/lego,fxposter/lego