Only do erb processing if it's a yml.erb file, and do it in before_initialize so we can pick up environment-specific injections