Fixed extra "sed" error.  Now removes all extra periods in file names.