Properly handle a failure to create a partial directory, which is