Create dist directory before copying files.