Calculate file newlines, word, and byte counts on client side using HTML5 File API. (Emulates Linux's wc command)