uploads: create path for blob, based on the blob name

We want to avoid to place several thousands of files on the same folder. So, we should follow a strategy where the blob is placed on a hierarchy of folder, like:

user-foobar/a/aabbd/aabbdeadbeef

provide also a helper function that creates the needed sub folders.