Update filemetadata and don`t throw uniqueness error. Fixes #4129
Signed-off-by: Justas Balcas <juztas@gmail.com>
Merge pull request #4548 from juztas/merge_filemetadata

Update filemetadata and don`t throw uniqueness error. Fixes #4129