check if encryption app is enabled before trying to calculate file size
check if key exists before reading it
fix check if app is enabled

Conflicts:
	apps/files_encryption/lib/proxy.php