move reload_library to libtree; get rid of is_fresh_from_file special case handling which was just there to avoid one single harmless file write