Generate unique URI for a given parent which does not collide
the FileStat of the parent
FileStat
the initial URI
indicates whether the given targetUri represents a directory
an optional string to append to the file name, in case of collision (e.g. copy)
copy
Generate unique URI for a given parent which does not collide