Winlean and threads case sensitivity fixes.
Ftpclient backwards compatibility fixes.
Fixed issue with os module in non-unicode mode on Windows.