Fixes loading PEM files with trailing line-break. rzcoder/node-rsa#7

All tests still run, change makes PEM files with trailing newline work.