Bump version to 1.8.1 for 3.1 release