Expand environment variables in the sockchown option