Fixed quota wrapper to return the value from flock()