Adusted the try-catch scope to the mkdirs.