replace dir_delete by io_rmdir
Merge pull request #561 from splitbrain/dir_delete

replace dir_delete by io_rmdir