d_path: make 'prepend()' fill up the buffer exactly on overflow