Update pi-write.php

Fixed critical Shell-Injection-Bug. (Now I hope 2 Integers can't cause much harm)