Update gearswap.lua

part3/3 of a fix for job change file_unload issue