Fix permissions according to ruby packaging standard