HAL_PX4: writing more than 512 bytes at a time can cause IO errors

the vfat fs in NuttX is really very picky!
HAL_PX4: format panic messages with a newline