rename common_appdata and move to puppi module
set correct log_dir mode under windows