Add getFileSize: in JSFileIO