(do_autoload): Fixed the bug in the autoload-saving code.