Remove all extra slashes from file paths