The foreman of the grand jury shall have power to order subpoenas for all witnesses desired to be produced, and he shall also have power to swear all witnesses. A record shall be kept by the foreman and returned to court, certified and signed by the foreman, of the names of all witnesses sworn before the grand jury.