Now close file opened in savetracks for git hash

Updated inout/savetracks to close the file opened by os.popen to get the git hash, in case this is causing a disruption of the galvcon_b runs.