Obj parsing refactoring.

Removed duplicated code in bump and normal map parsing.