Save model after users sets a new output directory