Adding DatabaseError to error types.
Fix path for normalizePath.

Hah hah.