fixed tmpdir receiving to_str in bin_resolver_spec