Move Stats to fs-common and update mock to use

I've used `Object.defineProperty` for the first time, but `Object.create` was already being used so I don't think this introduces any new incompatibility.