returning sha256hex if file size is 0

Signed-off-by: Gabriel Andrade <gabriel@b-datum.com>