Open .rst file as text instead of binary to make it future-proof. (Otherwise, in Python 3+ it will throw "TypeError: Can't convert 'bytes' object to str implicitly")