FIX #226 and use the correct extension for new_post.