Fix the issue in reading Serengeti private key file