Fallback: writing file to cache instead of returning its path