Pathlib Python Get Current Year Postgres