Make sure WORK_DIR exists

Fixes #37.