System.File: rmdir(): show error message on non-supported platform
System.File: improve rmdir(): determine platform when the script is loaded