Updated to cope with the situation that a directory (which gets zipped) and a zip file with the same name are submitted in the same submittion. Added temporary work arround that the bitstream name (title) is URL encoded so that the SWORD2 statement can be correctly parsed.