Increment number of links in 'link' command; add support for filestat, truncate commands