Update apps/files/templates/part.list.php

prevent multiple slashes in a row when building URLs.