used internal Rlib if present
file to gist URL fix
merge fixes on raaz with the branch