getModulus() will now accept Buffers

If the certificate parameter was a Buffer earlier, it would throw an error and exit. This patch checks if it is a Buffer and converts it into String for compatibility.

By default `fs.readFile`'s encoding is Buffer, so this could help in case the user forgets to properly encode.

All test passed