modify cachedir making routine for android (android has read only memory)