Host: Add file writing capability to rx_multi_samples example.