Implement fs.ftruncate.
merge.