Ignore errors from file close, move to terminate

Found a problem in the partition repair test where file close might
return {error, badarg} instead of ok, possibly for being called too
early before the file was actually open. This is a nicety anyway as the
VM should close the file if the owner process dies.

@slfritchie this ok?