fixed tests for grab
fixed marshalling of IO error in status helper
fixed tests for write_fasta