Normalize paths so files don't have multiple entries