adding null check before closing imaageInputStream in
getOrientationFromFile in LandscapePortraitUtils