this._currentNode.content is a Buffer object which has no .replace method
Merge pull request #94 from christiaan/bugfix_buffer_has_no_replace

Call to nonexisting method on Buffer instance