I'd use A/CHDK/DATA.
AFAIK it currently only holds the bootup logo, which is static but I think the directory name is suitable for (more or less temporary) script data as well...
It may not exist, so it should be checked and created with os.mkdir if it isn't there...