Do not return empty file if blob is binary

Signed-off-by: Sup Yut Sum <ch3cooli@gmail.com>