bump version to 0.3.1r

Signed-off-by: Wang Xu <gnawux@gmail.com>