Obtain file length using delegated call to shell.

This also in-line with how non-streaming installation work.

Bug: 161805941
Test: Try to install .apk from /sdcard in SELinux permissive mode.
Change-Id: Id30c7ff43f1613f8073883df429e47f16e2617c3
1 file changed