Add full support for using file-leak-detector, will be added to CI to report missing close() calls in test-runs