[PendingFile] Remove unused and incorrect setPath method
A trailing slash marks a directory in the queue, so the code would be harmful, but is fortunately used nowhere.
A trailing slash marks a directory in the queue, so the code would be harmful, but is fortunately used nowhere.