Currently when any of fission component exists, we fail to sync log as logger.Sync is not called before exiting. Restructured code so that we can logger.Sync before existing from the fission bundle component execution. Signed-off-by: Sanket Sudake <sanketsudake@gmail.com>