Fix invalid invocation in filename resolver.