[FIXED JENKINS-18351] file descriptor leak while fingerprinting