fix: create lightmaps directory only if autosave is turned on