Made the functions that serve files return instead of exit.
Made the functions that serve files return instead of exit.

When exiting, the output buffer is flushed. Returning gives us controll over what happens withthe output buffer which is imported for testing under CLI.

camargoanderso/SLIR,rezozero/slir,lencioni/SLIR,rezozero/slir,camargoanderso/SLIR,lencioni/SLIR