Cache: allow file sizes >2GB

use 64bit integers in the filecache

@DeepDiver1975 @butonic @karlitschek