[PATCH 2/2] scripts: Fix reading list of files in mock-noinline.py