split gem_dir_executables to even smaller pieces