damn it, I've been using os.stat()[6] for this!