Writing to output tree works, URI's ok on Windows