fails:Dir#to_path is an alias of Dir#path
