Added error handling to fileTextExtractor.py

Added try / except blocks to code.