truncate: support sizes relative to an existing file