Add error handling and use of RKEnsureDirectoryExistsAtPath() to fix problem with adding persistent store