+URLWithPath:isDirectory:hostURL: takes full care of manipulating URL for us