Repair dragging in of files

A call to replaceRange hadn't been updated to its new signature.