Improved path handling and Pelican 3.3 support for filename placeholder.