revised the HTTP class file writing method to prevent file overwrite unless dev specifies