flush of attrs on file object