added ensureRootdirExists to rps_main_binaries