Update init script to fix some issue related to starting rdiffweb.
Fix tempdir encoding.