Fix permissions for travis script