Android: Fix file access layer