Masham branch closed for building works