rc.php: create workdir if it does not exist
index.php: check that workdir is writable