exit when failed to write data to file
changed output format of 'list' and passed t/cbridge-basic.t