Fix variable assignment in FileRegistry constructor

Oracle JDK 7 reported a compilation error due to an uncertainty of the initalization of a final variable.