Removal of non-empty directories is non-fatal (closes #3268)

The removed directories might contains data from someone else, so an
error on `rmdir` can happens (because dir is non-empty) and should not
stop the process.
Merge pull request #656 from eguaj/3.2-A3268

Removal of non-empty directories is non-fatal (closes #3268)