Fix permission problems when EventStore is installed via composer