support buffers in addition to file paths
Merge pull request #7 from jmonster/buffer

support buffers in addition to file paths