Also fixes the issue with destination path being resolved w.r.t input, without accounting for it being already absolute.
Attach a file by drag & drop or click to upload