There is no stat object for the file buffer.

Not totally sure why this is. Maybe it's a node version issue or something. Hope this is a sane fix.