Add error message when we can't create a directory.