Add fstat command. Fixes #133.