In fs's truncate functions, 'len' is optional (and defaults to 0).