Check that filename in METADATA is canonical