Fixed external fetcher code

- Lwt_process.shell didn't work for some reason
- The XML sent to the helper cannot contain newlines
- The digests must be on a manifest-digest element, not the old id
  attribute
- The MIME-type must be given explicitly