Fixed bug where a file could be sent before grbl was ready.