Fix a bug where large file is not accepted.