doc: rename extension to .rst from .txt

Because .rst is a popular reStructuredText extension.