Plans to turn an old farm building into a home in Preston-le-Skerne have been approved by Durham County Council.