Fix archive extension matching