filebackend: Use $tmpDirectory instead of wfTempDir()