Fixed trailing slash bug on OS X.
release 1.0.1