Force implicit .to_str on all arguments.
Added tests for Pathname objects.