Trio avoid jail for attack on Fife takeaway owner