Keshav Maharaj: Proteas still found a way to win against Bangladesh