Add mode parameter to mkdir_p

* FileUtils.mkdir_p accepts now the mode parameter and sets this for all parent directories.

* 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.