file-bmp: don't close foreign FD in ReadImage()