Provide a function to write jobs to disk
Provide a function to write jobs to disk

This function writes a (non-archived) job to disk. The file
name can be computed from the job id, which is part of the job.

Signed-off-by: Klaus Aehlig <4ce51de36d9068cd7db2eec1151e0f3f95419008@google.com>
Reviewed-by: Michele Tartara <05f7077a2c6cbbdc4af4ba42e3ef89a0df846179@google.com>

apyrgio/ganeti,yiannist/ganeti,andir/ganeti,yiannist/ganeti,mbakke/ganeti,bitemyapp/ganeti,andir/ganeti,leshchevds/ganeti,ganeti/ganeti,ganeti-github-testing/ganeti-test-1,leshchevds/ganeti,andir/ganeti,onponomarev/ganeti,dimara/ganeti,onponomarev/ganeti,ganeti/ganeti,grnet/snf-ganeti,apyrgio/ganeti,leshchevds/ganeti,yiannist/ganeti,mbakke/ganeti,ganeti/ganeti,dimara/ganeti,grnet/snf-ganeti,mbakke/ganeti,ganeti-github-testing/ganeti-test-1,bitemyapp/ganeti