Corrected finding app data directory for frozen versions