Ensure dirname of manifest filename is always created