Ganesha stats file is world writable. Making it read/write only for
owner/group.

NOTE: I could use fdopen() instead of closing and doing a fopen()
But, the manpage mentions some specific requirement for fdopen()
and for compatibility reasons avoiding it.

Feature Test Macro Requirements for glibc (see
feature_test_macros(7)):

       fdopen(): _POSIX_C_SOURCE >= 1 || _XOPEN_SOURCE || _POSIX_SOURCE

Signed-off-by: Venkateswararao Jujjuri "<jvrao@linux.vnet.ibm.com>