Fix bug where manifest was being read as binary