Fixed issue with calling empty?() on a random param. Also made Pathname's to_s() method faster.