Fix GPIO pin read from file