Recorder: pad generated URIs for proper sorting, close #2185