CA-120469: Fail gracefully in case rmdir returns ENOTEMPTY
CA-120469: Fail gracefully in case rmdir returns ENOTEMPTY

Parallel vm-suspend operations on vm that has got vdi's in the same SR
could result in reference files, ignoring rmdir error (ENOTEMPTY)
instead of lsdir looks a better option.

Signed-off-by: Vineeth Thampi Raveendran <vineeth.thampi@citrix.com>
Reviewed-by:Germano Percossi <germano.percossi@citrix.com>

GitHub: closes #53 on xapi-project/sm

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