stat and fstat with new stat struct