trim filename when verifying checksum on a binary PUT
trim filename when verifying checksum on a binary PUT

A PUT request must include the binary filename so it can be overwritten,
however if we want to verify the checksum we need to trim that filename
and issue a GET to the arch endpoint to retrieve the metadata for the
binary.

Fixes: https://github.com/ceph/chacractl/issues/29

Signed-off-by: Andrew Schoen <1bb641dc23c3a93cce4eee683bcf4b2bea7903a3@redhat.com>

ceph/chacractl,alfredodeza/chacractl