Add file size helpers for tests.