first pass at stat() docs.

Pulled solely from the JVM impl.