check host facts file size and skip empty ones
fixes #3262 - actually create "cache" file to save the time of the last host facts push