utils/serialize: added serialize_old_style_filename
pylint/flake8/refactoring in pydoop/mapreduce