Fix problem with over-long test directory paths on Windows.