pyRF24: fix trailing newlines