Fix carrier wave filename with multiple dots