title: - [NSBundle pathForResource:ofType] works differently for directories on 10.7 and 10.8
body: <p>I had this code</p>
  
  <pre><code>NSString *path = @"foo/bar"; // Note this is a directory, not a file!
  NSString *pathInBundle = [[NSBundle mainBundle] pathForResource:path ofType:nil];
  </code></pre>
  
  <p>It was working fine on 10.8 (returning the path found in the bundle) but returned nil in 10.7.</p>