Make trim functions async able so we can write .gitmodules