Removes executable bit from resources