Okay thanks that makes sense, the `rm` command comes immediately after, which is problematic. Thinking on this more though, if the posix meterpreter stager supports the `PrependFork` datastore option, that would probably be easiest fix, no changes to the cmdstager needed.