Add ability to get raw path, with or without trailing slash