* write.c (write_contents): Include output file name and bfd error