Fixing mkdir issue.