monkypatch to generate post_id based filename