Add files glob handling to uploadToS3.js.