Rewrited furnace.txt loading

Use `std::auto_ptr` instead of raw ptr.