additionally preserve ownership when writing out configs