Move the CSIDL folder path retrieval to pure python code