Removing leading and double spaces

when saving tracks