regulation of RNA biosynthetic process