Check file exists before sending cached file

Signed-off-by: David Fisher-Moreau <deiform87@gmail.com>