unbreak unix tests (fix undefined objects), whitespace refactor

using "class File::Spec;" form rather than "class Foo { ... }", and putting things a tab back -- makes this look more major than it really is.