Revert "refactor scrape vars, and fs write outside loop"

Reverts shampine/bowlscrape#1

JSON is invalid, ending with trailing ; and moving the file system write outside the request callback makes it fail due to the asynchronous nature.