Use File objects for data storage in AppRegistry

Signed-off-by: Jiří Janoušek <janousek.jiri@gmail.com>