virttest.standalone_test: Close file handler at the end of test

Free up resources at the end of each test, as we should
have done anyway.

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>