rastersize/CDEvents — pull request #11 by tonyxiao (2012-10-22 02:17:49+00:00)
Title: Correctly handle path that contains spaces

Currently spaces in path are escaped twice.

```objective-c
NSString *p = [@"/my folder" stringByAddingPercentEscapesUsingEncoding:NSUTF8StringEncoding] // => @"/my%20folder"
NSURL *u = [NSURL fileURLWithString:p] // => file://localhost/my%2520folder
NSString *p2 = [u path] //=> @"/my%20folder"
@"/my%20folder" != @"/my folder"
```

Using `stringByStandardizingPath` will still guarantee that eventPath doesn't contain trailing slash.