Refactored post_processors

1. Change some variable name
2. Open file with binary mode
3. Remove unused import