A PHP implementation of https://wiki.ucop.edu/display/Curation/BagIt.