You may have read about it here a while back.
DEVONtech seem to have built in some magic since the days; I just force quit DT with an encrypted test database open, and it was automatically renamed .dtsparse when I next opened DT. A such, I cannot simulate a situation in which the database is left open and still uses the file extension sparseimage next time the script is run.