This should just be a method on `W_FileStatObject`, it makes sense for `check_frozen()` since that applies to many classes.