Changed all the 'dir' args to 'dir_name' in the state.load() and state.save() user functions.
Authored by: bugman 2007-11-22
Parent: [r3802]
Child: [r3804]