Implement statfs

fix #13