CP-6167: Fix an issue reported by pylint
CP-6167: Fix an issue reported by pylint

The 'stat' module was imported but not used. Moreover, later on in
this source file, we define a function with the same name 'stat',
so that the imported module is then shadowed.

Signed-off-by: Zheng Li <fff69bf00b8ec5b6098a1768eaaaa75f40b8795d@eu.citrix.com>

siddharthv/sm,chandrikas/sm,robertbreker/sm,chandrikas/sm,BobBall/sm,xapi-project/sm,kostaslamda/sm,robertbreker/sm,siddharthv/sm,malcolmcrossley/sm,martinjorge/sm,malcolmcrossley/sm,xapi-project/sm,djs55/sm,xapi-project/sm,robertbreker/sm,BobBall/sm,geosharath/sm,malcolmcrossley/sm,pritha-srivastava/sm,chandrikas/sm,BobBall/sm,siddharthv/sm,djs55/sm,germanop/sm,martinjorge/sm,geosharath/sm,martinjorge/sm,kostaslamda/sm,djs55/sm,pritha-srivastava/sm,germanop/sm,kostaslamda/sm,geosharath/sm,pritha-srivastava/sm,germanop/sm