Fixed crash on access to inexistant file.

Signed-off-by: Raphael Catolino <raphael.catolino@gmail.com>
Add Content-Length to metadata.

Signed-off-by: Raphael Catolino <raphael.catolino@gmail.com>