See if casting stationIDs as an integer works around the hls bug.
Revert "file unlink moved to outer loop and path corrected - issue #1"

Revert such that the original repo will merge cleanly
This reverts commit 11543ce4affe596f1fca78be907c698c5f730ff0.
Merge remote-tracking branch 'SchedulesDirect/master'