Fix node 0.8 support

In node 0.8, fs.read is a Buffer, not a String.

This commit ensures that if it's a Buffer, it's toString'd properly.