[FIX] XQuery Update: fn:put() does not work with file: URIs

Quick fix + test demonstrating the issue