Consequences of stochastic mrna synthesis in a gene regulatory pathway