`work` function improved by 600%

`WORK_FOLDER` needs to be absolute. Or it needs to end with a trailing
slash. ¯\_(ツ)_/¯