Revert "Reopen images for validation if they are closed"

This reverts commit 7d43b1cf6eda74c86209a4cae0d71557ce9bdbc0.
Don't check internal file formatl if image is closed