Removed the if statment checks on creating dirs.

Yeah they are quite useless because they only return false if the dirs already exists. And if something went wrong during the creation it would throw an exception instead.