Don't overwrite output file if assembly fails (defer opening output file until parsing is complete)