upload: Add a default duration

We now use a default duration of one day instead of infinite time to
avoid polluting the remote upload directory.