FileLoader: Move lastPerc inside file open function
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>