create sources.list.d directory before writing into it