Make folders work without trailing slash