daemon: Fixed modifyFile and modifyJob with long values