Make the file through the os to avoid permission issues