Plans to convert a barn at Low Hall Farm in North Yorkshire into industrial properties have been approved by the council.