fixed tmpdir receiving to_s in bin_resolver_spec