Spaghetti bake with cottage cheese