Dumfries man found guilty of raping woman and threatening vi