Make sure it writes to a place that will not cause errors in release.