tmpdir needs both to_s and to_str in bin_resolver_spec