make folder url absolute and use uri.join instead of string
concatenation in create_folder