Write control/desktop files to build dir