cross browser slice

mobile webkit doesn't support file.slice() yet..