add touch_with_version

took from source of latest verison of Paper Trail