only fail if we cannot create the directory and it doesn't exist, instead of the other way around.