Prepare version 1.7.1.

(cherry picked from commit cb322379dfa6ddf8bab9a3381f31c36ae5dd3574)