Add additional logging for directory creation in PNG