Fix creation of distribution files