Simple Bash Script to take a media file, segment it and create an M3U8 playlist for serving using HLS