added octet-stream to rar mime type and cleanup