MSP wants guarantee for Perth primary school to remain open