Improve error handling in LocalStorage. Fix #23
Improve error handling in LocalStorage. Fix #23

Catch errors when calling stat. Except both IOError and OSError in
all clauses.

onitu/onitu,onitu/onitu,onitu/onitu