Updates stash to version 3.1.7.

Signed-off-by: Markus Hubig <mhubig@gmail.com>