new file:   bin/foscam-record.pl