benchmark: Fix timing in the creation of files