Disable UART interrupts when writing to flash

Fix #9.