Rewrite how tmpfiles are created to be portable