Fixed typo(?) in set_metadata() for touched files.