BUG FIX: Windows directory handling.