Added try-except block to keep from crashing with invalid unicode characters.
Signed-off-by: Jake Drake <tacodrake95@yahoo.com>