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>
Imported-by: Vineeth Thampi Raveendran <vineeth.thampi@citrix.com>

(cherry picked from commit bc1da0cf34b3213b455523109e402da106a9bc65)

GitHub: closes #139 on xapi-project/sm
CA-118899: Support UTF-8 iSCSI target names.

Signed-off-by: Rob Dobson <rob@rdobson.co.uk>
Acked-by: Thanos Makatos <thanos.makatos@citrix.co.uk>
Imported-by: Vineeth Raveendran <vineeth.thampi@citrix.com>

(cherry picked from commit 9dbd30cde957ad19ef5ba0e950d15712946975e8)

GitHub: closes #140 on xapi-project/sm