move ephemeral memory in worker

Link: https://github.com/GeneAssembly/biosal/issues/321
Signed-off-by: Sébastien Boisvert <boisvert@anl.gov>