feat(client): make use of the new x-file-id header

So that we don't need to parse the Location header to get the fileid.