Add mode parameter to FileUtils.mkdir_p

FileUtils.mkdir_p accepts now the mode parameter and sets this
for all parent directories.
Fix rm_rf when deleted dirs does not exist

FileUtils.rm_rf is implemented as an alias to FileUtils.rm.
This is wrong because then an exception is raised when any of the
deleted directories doesn't exist.