Added "/" at the end of the "-d" option so that directories are created
correctly.