Create file if not exists, also truncate it if not the right size