Over the past decade, mortgage originators have seen the average cost to originate a loan nearly double.