31f1fee rpmbuild: catch FileExistsError in python2 compatible manner

Authored and Committed by praiskup 2 years ago
    rpmbuild: catch FileExistsError in python2 compatible manner
    
    Fixes bug in 8aae8477ffb3d670d1469c1222432eb0a64f727c.
    
    Relates: #1245