Replace tempfile with direct stdin manipulation of crontab

Remove the unnecessary tempfile for crontab updates. This implementation is safer than #418 by directly adding the crontab contents into the `crontab` STDIN.