fix for user_data_dir to work with windows properly