encode both path and src_path to make sure we are comparing the same type in python3 also have observer process join with default process_join_timeout
remove temporary file after using it (still needs to be done for collectd tests