node's fs.Stats class as a standalone module