Added nicer error messages for filesystem errors

Signed-off-by: Ozan Turgut <ozanturgut@gmail.com>