Fix a bug in send static file. Sometimes send header after data