docker_remote_put: fix owner on intermediate sub directories
docker_remote_put: fix owner on intermediate sub directories

When uploading a file in path A/B/C, directory A was not set to the
correct owner.

boklm/rbm,boklm/rbm