Fix folder creation error.