Change move metadata to use URI instead of File #1544

Move metadata requires fragments to be used, thus plain File cannot be
used.