Close file to prevent leaking fd
File contents are bytes