ofhash: Allow user database reading

This is required as it now uses attributesOfItemAtPath:, which reads the
user database.