fails:FileTest.chardev? accepts an object that has a #to_path method
