intern results to deal with R not waiting on the Python script, and tweak the error handling accordingly.
accept full filenames to sampled_logs() as well as dates.