Fixed a bug in the File::mkdir() method which caused an error when default permissions were used