changed mkdir to makedirs() for userpreferences directory. So if parent path does not exist, it will created even so.
Authored by: FrancescoA 2007-03-11
Parent: [r69]
Child: [r71]