Fix continue_on_error AttributeError when using defacl set with an invalid ACL
Close temporary stdout and stderr files in unit tests before deleting.

Fixes file-in-use error on Windows.