forked rtftomarkdown ruby file from gist