Fixed bug in verifyGpioFiles, implemented sendGpioDirection.