[#6] Formatted code to match PEP-8.
[#6] Code refactored to reduce duplicated sections.

Refactored export.py:__export_library_animation_clips_and_animations().