Fix android 5.0 fileCallback and null callback