Storage domain: use path sha1 for uniqueness in database