Fixed the JEX so that it logs stdout and stderr to files again.