Fix write_shalist signature.