Avoid mkdirs if path exists, to be safe