**Version:** v1.0.5 `fd#write` function when passed a `Buffer`, does not write any text to the file. However when passed a `String` object, it correctly writes to the file